﻿@model DateTime?
           
@Html.TextBox("", Model.HasValue ? @ViewData.TemplateInfo.FormattedModelValue: "", new
{
    @class = "date"
})
<br/>
@ViewData.ModelMetadata.DisplayFormatString
<br />
@ViewData.ModelMetadata.ContainerType.ToString()